﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Autofac;

using You.Niao.User.IDAL;
namespace You.Niao.User
{
    public class UserModule:Module
    {
        protected override void Load(ContainerBuilder builder)
        {
            builder.RegisterType<You.Niao.User.DAL.User>().As<You.Niao.User.IDAL.IUser>();
            builder.RegisterType<You.Niao.User.DAL.PrLitterDAL>().As<You.Niao.User.IDAL.IPrletter>();
            base.Load(builder);
        }

    }
}
